//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop
USEFORM("UFD.cpp", FormDebug);
USEUNIT("auxList.cpp");
USEUNIT("GLPoint.cpp");
USEUNIT("glSkeleton.cpp");
USEUNIT("LineDrawing.cpp");
USEUNIT("Lista.cpp");
USEUNIT("Nodo.cpp");
USEUNIT("Pen.cpp");
USEUNIT("Scene.cpp");
USEUNIT("Segment.cpp");
USEFORM("UFP.cpp", GLForm2D);
USEFORM("UFPal.cpp", formPaleta);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
        try
        {
                 Application->Initialize();
                 Application->CreateForm(__classid(TGLForm2D), &GLForm2D);
                 Application->CreateForm(__classid(TFormDebug), &FormDebug);
                 Application->CreateForm(__classid(TformPaleta), &formPaleta);
                 Application->Run();
        }
        catch (Exception &exception)
        {
                 Application->ShowException(&exception);
        }
        return 0;
}
//---------------------------------------------------------------------------
